<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
		<link rel="stylesheet" href="css/style.css" type="text/css"></link>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
		<title>仪器信息</title>
		<jsp:include page="../common/xmeta.jsp"></jsp:include>
		
		
		<script type="text/javascript">
			$(document).ready(function() {
				$('#sureOk').click(function() {
					parent.$('#content').tabs('close', '仪器详情');
				});
			});
			
		</script>
	</head>

	<body>
		<br>
		<div class="juzhong">
			<div class="main_2">
				<div class="right_2">
					<div class="right_nr">
						<table width="100%" class="tab_border">
							<caption>
								<h3>
									仪器详情
								</h3>
							</caption>
							<tr>
								<td width="15%">
									仪器名称:
								</td>
								<td>
									${apparatusVo.name}
								</td>

								<td width="15%">
									仪器状态：
								</td>
								<td width="20%">
									<s:if test="useType == 0">对外开放</s:if>
									<s:elseif test="useType == 1">送样</s:elseif>
									<s:elseif test="useType == 2">不能使用</s:elseif>
									<s:else>未知</s:else>
								</td>
							</tr>

							<tr>
								<td width="10%">
									型&nbsp;&nbsp;&nbsp;号：
								</td>
								<td>
									${apparatusVo.model}
								</td>

								<td width="10%">
									厂&nbsp;&nbsp;&nbsp;商：
								</td>
								<td>
									${apparatusVo.supplier}
								</td>
							</tr>


							<tr>
								<td width="10%">
									检索关键词:
								</td>
								<td>
									${apparatusVo.schVar }
								</td>

								<td width="10%">
									仪器价值:
								</td>
								<td>
									${apparatusVo.value}
								</td>
							</tr>

							<tr>
								<td>
									超时罚金(元)
								</td>
								<td>
									<label>${apparatusVo.overTimeCharge}</label>
								</td>
								<td>
									机时费(元/半小时)
								</td>
								<td>
									<label>${apparatusVo.machHourFee }</label>
								</td>
							</tr>
							
							
							<tr>
								<td>
									其他费用(元)
								</td>
								<td>
									<label>${apparatusVo.otherFee}</label>
								</td>
								<td>
									开机费(元)
								</td>
								<td>
									<label>${apparatusVo.setupCharges }</label>
								</td>
							</tr>

							<tr>
								<td width="10%">
									简&nbsp;&nbsp;&nbsp;介:
								</td>
								<td colspan="3">
									${apparatusVo.schVar }
								</td>
							</tr>


							<tr>
								<td>
									性能指标:
								</td>
								<td colspan="3">
									${apparatusVo.perFigure }
								</td>
							</tr>

							<tr>
								<td>
									使用范围:
								</td>
								<td colspan="3">
									${apparatusVo.applicable}
								</td>
							</tr>
							
							<tr>
								<td colspan="4" align="center">
									<a href="#" class="easyui-linkbutton" iconCls="icon-ok" id="sureOk">确定</a>
								</td>
							</tr>
						</table>


						<div>
							<s:iterator value="peijians.keySet()" id="peijian">
								<div>
									<div>
										<br>
										<b><s:property value="#peijian" />
										</b>
									</div>
									<div>
										<s:iterator value="peijians.get(#peijian)" status="st" id="pj">
											<table width="100%" border="1" class="tab_border">
												<tr>
													<td width="10%">
														标题：
													</td>
													<td width="45%">
														<label>
															${title}
														</label>
													</td>

													<td width="10%">
														上传者：
													</td>
													<td width="10%">
														<label>
															${origin}
														</label>
													</td>

													<td width="15%">
														上传时间：
													</td>
													<td>
														<label>
															${uploadTime}
														</label>
													</td>
												</tr>

												<tr>
													<td>
														介绍：
													</td>
													<td colspan="5">
														${introduction}
													</td>
												</tr>

												<tr>
													<td>
														附件：
													</td>
													<td colspan="3">
														<a href="download.action?id=${id }">${attachment}</a>
													</td>
													<td>
														下载次数
													</td>
													<td>
														${downLoadCount}
													</td>
												</tr>
											</table>
											<br />
										</s:iterator>
									</div>
								</div>
								<br>
							</s:iterator>
						</div>
					</div>
				</div>
				<div class="clear"></div>
			</div>

		</div>
	</body>
</html>
